﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PatientSearch.ascx.cs" Inherits="IDML.Web.Controls.PatientSearch" %>

<%--<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>--%>
<%--<table>
 <tr>
          <td align="right"><asp:Label ID="lblSearch" runat="server" Text="Search"></asp:Label></td>
      <td align="right"><asp:TextBox ID="txtSearch" runat="server" CssClass="text_t" Width="175" ></asp:TextBox></td>
          <td>
<asp:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" TargetControlID="txtSearch"
    ServiceMethod="GetCompletionList" ServicePath="~/Controls/AutoComplete.asmx"
                            MinimumPrefixLength="2" CompletionInterval="1000" EnableCaching="true" CompletionSetCount="20"
                            CompletionListCssClass="autocomplete_list" CompletionListItemCssClass="autocomplete_listItem"
                            CompletionListHighlightedItemCssClass="autocomplete_highlighted_listitem" DelimiterCharacters=";, :"
                            ShowOnlyCurrentWordInCompletionListItem="true"    
    ></asp:AutoCompleteExtender>
          </td>
     </tr>
</table>--%>


<%--<link href="css/jquery.autocomplete.css" rel="stylesheet" type="text/css" />
<script src="scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
<script src="scripts/jquery.autocomplete.js" type="text/javascript"></script>--%>


<script type="text/javascript">
    $(document).ready(function () {
        $("#<%=txtSearch.ClientID%>").autocomplete('~/Controls/Patient_Search.ashx');
    });
</script>



    <div>
        <asp:TextBox ID="txtSearch" runat="server"></asp:TextBox>
    </div>

  





